﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Document.cs" company="Microsoft">
//   Microsoft
// </copyright>
// <summary>
//   Defines the Document type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace MySemanticSearch.Web.Model
{
    /// <summary>
    /// FileTable document properties
    /// </summary>
    public class Document
    {
        /// <summary>
        /// Gets or sets Guid.
        /// </summary>
        [System.ComponentModel.DataAnnotations.Key]
        public string Guid { get; set; }

        /// <summary>
        /// Gets or sets FileType.
        /// </summary>
        public string FileType { get; set; }

        /// <summary>
        /// Gets or sets FileName.
        /// </summary>
        public string FileName { get; set; }

        /// <summary>
        /// Gets or sets Creation Date property.
        /// </summary>
        public string Created { get; set; }

        /// <summary>
        /// Gets or sets modified date property.
        /// </summary>
        public string Modified { get; set; }

        /// <summary>
        /// Gets or sets Accessed date property.
        /// </summary>
        public string Accessed { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether the document is ReadOnly.
        /// </summary>
        public bool ReadOnly { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether the document is Hidden.
        /// </summary>
        public bool Hidden { get; set; }

        /// <summary>
        /// Gets or sets RelativeScore.
        /// </summary>
        public double Score { get; set; }
    }
}